package com.example.task.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;

/**
 * @author sunny
 * @desc 任务表
 */
@Data
@TableName("schedule_config")
public class ScheduleConfig {
    @TableId(value = "id", type = IdType.UUID)
    private String id;
    @TableField("job_name")
    private String jobName;
    @TableField("class_name")
    private String className;
    @TableField("method")
    private String method;
    @TableField("cron")
    private String cron;
    @TableField("status")
    private String status;
}